[
  {
    "id": "APISIX-Instance",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "1",
          "type": "Widget",
          "widget": {
            "title": "HTTP Request Trend (requests per second)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_http_requests"
          ]
        },
        {
          "x": 6,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "2",
          "type": "Widget",
          "widget": {
            "title": "HTTP Status Trend (requests per second)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_http_status_matched"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 12,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "3",
          "type": "Widget",
          "widget": {
            "title": "HTTP Latency (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_http_latency_matched"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 18,
          "y": 0,
          "w": 6,
          "h": 13,
          "i": "4",
          "type": "Widget",
          "widget": {
            "title": "HTTP Bandwidth (KB)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_bandwidth_matched/1024"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 0,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "5",
          "type": "Widget",
          "expressions": [
            "meter_apisix_instance_http_connections"
          ],
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "widget": {
            "title": "HTTP Connections"
          },
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 6,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "6",
          "type": "Widget",
          "widget": {
            "title": "HTTP Status Trend of non-matched requests (requests per second)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_http_status_unmatched"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 12,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "7",
          "type": "Widget",
          "widget": {
            "title": "HTTP Latency of non-matched requests (ms)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_http_latency_unmatched"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 18,
          "y": 13,
          "w": 6,
          "h": 13,
          "i": "8",
          "type": "Widget",
          "widget": {
            "title": "HTTP Bandwidth of non-matched requests (KB)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_bandwidth_unmatched/1024"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        },
        {
          "x": 0,
          "y": 26,
          "w": 6,
          "h": 13,
          "i": "9",
          "type": "Widget",
          "widget": {
            "title": "Shard Dict Capacity (MB)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_shared_dict_capacity_bytes/1024/1024"
          ],
          "associate": [
            {
              "widgetId": "9"
            },
            {
              "widgetId": "10"
            }
          ]
        },
        {
          "x": 6,
          "y": 26,
          "w": 6,
          "h": 13,
          "i": "10",
          "type": "Widget",
          "widget": {
            "title": "Shared Dict Free Space (MB)"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_shared_dict_free_space_bytes/1024/1024"
          ],
          "associate": [
            {
              "widgetId": "9"
            },
            {
              "widgetId": "10"
            }
          ]
        },
        {
          "x": 12,
          "y": 26,
          "w": 6,
          "h": 13,
          "i": "11",
          "type": "Widget",
          "widget": {
            "title": "etcd indexes"
          },
          "graph": {
            "type": "Line",
            "step": false,
            "smooth": false,
            "showSymbol": true,
            "showXAxis": true,
            "showYAxis": true
          },
          "expressions": [
            "meter_apisix_instance_etcd_indexes"
          ],
          "associate": []
        },
        {
          "x": 18,
          "y": 26,
          "w": 6,
          "h": 13,
          "i": "14",
          "type": "Widget",
          "widget": {
            "title": "etcd latest reachability",
            "tips": "0 represents etcd unreachable, 1 represents etcd connected."
          },
          "graph": {
            "type": "Card",
            "fontSize": 40,
            "textAlign": "center",
            "showUnit": true
          },
          "expressions": [
            "latest(meter_apisix_instance_etcd_reachable)"
          ],
          "associate": [
            {
              "widgetId": "1"
            },
            {
              "widgetId": "2"
            },
            {
              "widgetId": "3"
            },
            {
              "widgetId": "4"
            },
            {
              "widgetId": "6"
            },
            {
              "widgetId": "7"
            },
            {
              "widgetId": "8"
            }
          ]
        }
      ],
      "layer": "APISIX",
      "entity": "ServiceInstance",
      "name": "APISIX-Instance",
      "isRoot": false,
      "isDefault": true,
      "expressions": [
        "avg(meter_apisix_instance_http_status_matched{code='200'})",
        "avg(meter_apisix_instance_http_status_matched{code='304'})",
        "avg(meter_apisix_instance_http_status_matched{code='404'})",
        "avg(meter_apisix_instance_http_status_matched{code='499'})",
        "avg(meter_apisix_instance_http_status_matched{code='503'})"
      ],
      "expressionsConfig": [
        {
          "unit": "req / s",
          "label": "HTTP Status 200"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 304"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 404"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 499"
        },
        {
          "unit": "req / s",
          "label": "HTTP Status 503"
        }
      ]
    }
  }
]
